<a href="/dd/register"> register </a>
<h3 align="center">Login</h3>
<form action="/dd/login/" method="post">
<p class="aligned">
<label for="id_username">Username:</label> <input type="text" name="username" id="id_username" />
</p>
<p class="aligned">
<label for="id_password">Password:</label> <input type="password" name="password" id="id_password" />
<input type="hidden" name="next" value="{{ next }}" />
<input type="hidden" name="this_is_the_login_form" value="1" />
</p>
<div class="aligned" align="center">
<label>&nbsp;</label><input type="submit" value="Log in" />
</div>
</form>

